package com.jack.thinking.java._22.swing.tip;

import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JFrame;

import com.utils.SwingConsole;

public class MyToolTip extends JFrame{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public JButton j = new JButton("J1");

	public MyToolTip() {
		setLayout(new FlowLayout());
		j.setToolTipText("tool tip");
		add(j);
	}

	public static void main(String[] args) {
		SwingConsole.run(new MyToolTip(), 500, 300);
	}
	
}
